package com.application.chiettinhdienluc.model;

import java.io.Serializable;

import android.annotation.SuppressLint;

@SuppressWarnings("serial")
public class HinhAnhChiTietModel implements Serializable {

	//table column names
	public String getHosochiettinhid() {
		return hosochiettinhid;
	}

	public void setHosochiettinhid(String hosochiettinhid) {
		this.hosochiettinhid = hosochiettinhid;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public String getNgaychup() {
		return ngaychup;
	}

	public void setNgaychup(String ngaychup) {
		this.ngaychup = ngaychup;
	}

	public int getSubmitted() {
		return submitted;
	}

	public void setSubmitted(int submitted) {
		this.submitted = submitted;
	}

	private String hosochiettinhid ;
	private String filename ;
	private String ngaychup ;
	private int submitted ;

	@SuppressLint("UseValueOf")
	public String getJsonString(){

		String json = "{\"chitietId\": \""+ hosochiettinhid +
				"\", \"banctinhId\": \""+ filename +
				"\", \"maVattu\": \""+ ngaychup +
				"\",\"maDviqly\": \""+submitted+"\"}";

		return json;
	}

}
